package com.tiamo.traders.entity;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class BusinessType extends PageModel implements Serializable {
        private int id;
        private int typeId;
        private String businessType;

    public BusinessType(int id, int typeId, String businessType) {
        this.id = id;
        this.typeId = typeId;
        this.businessType = businessType;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public BusinessType(int id, String businessType) {
        this.id = id;
        this.businessType = businessType;
    }

    public BusinessType() {
    }

    @Override
    public String toString() {
        return "BusinessType{" +
                "id=" + id +
                ", businessType='" + businessType + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }
}
